

def test_id_is_ok(uid , get_rating) :
    try:
        result = get_rating(uid)
    except:
        result = -1
    return result != -1




